package com.service;
import java.util.List;

import com.model.Photos;
import com.util.PageBean;

public interface PhotosService{
	
	//查询多条记录
	public List<Photos> queryPhotosList(Photos photos,PageBean page) throws Exception;
 
	//添加
	public int insertPhotos(Photos photos) throws Exception ;
	
	//根据ID删除
	public int deletePhotos(int id) throws Exception ;
	
	//更新
	public int updatePhotos(Photos photos) throws Exception ;
	
	//根据ID查询单条数据
	public Photos queryPhotosById(int id) throws Exception ;
	
	//得到记录总数
	int getCount(Photos photos);

}

